package com.yetianhua.dao;

import com.yetianhua.pojo.User;

import java.io.Serializable;
import java.util.List;

/**
 * @author yetianhua
 * @className IUserDao
 * @description TODO
 * @date 2021/6/2
 * @time 20:14
 */
public interface IUserDao {

    List<User> findAll();

    int updateById(User user);

    int deleteById(Serializable id);

}
